package com.ruoyi.ora.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 消息对象 ora_user_message
 * 
 * @author liuwp
 * @date 2025-03-19
 */
public class UserMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 消息类型 */
    @Excel(name = "消息类型", dictType = "ora_user_message_type")
    private Integer msgType;

    /** 消息标题 */
    @Excel(name = "消息标题")
    private String msgTitle;

    /** 消息内容 */
    @Excel(name = "消息内容")
    private String msgContent;

    /** 已读状态 */
    @Excel(name = "已读状态", dictType = "sys_yes_no")
    private Integer realStatus;

    /** 资产id1 */
    @Excel(name = "资产id1")
    private String assetsId1;

    /** 资产id2 */
    @Excel(name = "资产id2")
    private String assetsId2;

    /** 资产id3 */
    @Excel(name = "资产id3")
    private String assetsId3;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setMsgType(Integer msgType) 
    {
        this.msgType = msgType;
    }

    public Integer getMsgType() 
    {
        return msgType;
    }
    public void setMsgTitle(String msgTitle) 
    {
        this.msgTitle = msgTitle;
    }

    public String getMsgTitle() 
    {
        return msgTitle;
    }
    public void setMsgContent(String msgContent) 
    {
        this.msgContent = msgContent;
    }

    public String getMsgContent() 
    {
        return msgContent;
    }
    public void setRealStatus(Integer realStatus) 
    {
        this.realStatus = realStatus;
    }

    public Integer getRealStatus() 
    {
        return realStatus;
    }
    public void setAssetsId1(String assetsId1) 
    {
        this.assetsId1 = assetsId1;
    }

    public String getAssetsId1() 
    {
        return assetsId1;
    }
    public void setAssetsId2(String assetsId2) 
    {
        this.assetsId2 = assetsId2;
    }

    public String getAssetsId2() 
    {
        return assetsId2;
    }
    public void setAssetsId3(String assetsId3) 
    {
        this.assetsId3 = assetsId3;
    }

    public String getAssetsId3() 
    {
        return assetsId3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("msgType", getMsgType())
            .append("msgTitle", getMsgTitle())
            .append("msgContent", getMsgContent())
            .append("createTime", getCreateTime())
            .append("realStatus", getRealStatus())
            .append("assetsId1", getAssetsId1())
            .append("assetsId2", getAssetsId2())
            .append("assetsId3", getAssetsId3())
            .toString();
    }
}
